package  org.fantasy.cpp.core.pojo;

import org.nutz.dao.entity.annotation.Column;
import org.nutz.dao.entity.annotation.Id;
import org.nutz.dao.entity.annotation.Table;

import  org.fantasy.cpp.core.annotation.Field;

/**
 * 扩展属性
 * 
 * @author 王文成
 * @version 1.0
 * @since 2011-7-5
 */
@Table("ITEM_ATTR")
public class ItemAttr{
	
	@Id 
	@Column("attr_id") 
	@Field(desc="属性id",nullable=false) 
	private Long attrId; 

	@Column("attr_name") 
	@Field(desc="属性名称",nullable=false,maxlenth=256) 
	private String attrName; 

	@Column("attr_code") 
	@Field(desc="属性代码",nullable=false,maxlenth=256) 
	private String attrCode; 

	@Column("state") 
	@Field(desc="状态",nullable=false,maxlenth=3) 
	private String state; 
    
    private String attrValue;
    
    public Long getAttrId() {
		return attrId;
	}

	public void setAttrId(Long attrId) {
		this.attrId = attrId;
	}

	public String getAttrName() {
		return attrName;
	}

	public void setAttrName(String attrName) {
		this.attrName = attrName;
	}

	public String getAttrCode() {
		return attrCode;
	}

	public void setAttrCode(String attrCode) {
		this.attrCode = attrCode;
	}

	public String getState() {
		return state;
	}

	public void setState(String state) {
		this.state = state;
	}

	public String getAttrValue() {
        return attrValue;
    }

    public void setAttrValue(String attrValue) {
        this.attrValue = attrValue;
    }
}